package com.wudd.service.remote.user;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.wudd.common.bean.response.ResponseVO;

@FeignClient(value = "eureka-server-provider",fallbackFactory = UserClientFailFactory.class)
public interface UserClient {
	@PostMapping("/userInfo/getUserNameById")
	public ResponseVO<String> getUserNameById(@RequestParam("userId") String userId);
}
